package mes.kanban.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 权限
 * @author gjy
 *
 * 2018年2月7日下午4:22:26
 */
@Entity
@Table(name="MES_PERMISSION")
public class MesPermission implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8224640716098342179L;
	
	@Id
	@Column(name="id")
	@GeneratedValue(generator="uuid")
	@GenericGenerator(name="uuid",strategy="org.hibernate.id.UUIDGenerator")
	private String id;
	
	@Column(name="permission_name")
	private String name;
	
	@Column(name="permission_desc")
	private String desc;
	
	@Column(name="permission_url")
	private String url;
	
	//权限类型
	@Column(name="permission_int")
	private String permission_int;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	public void setUrl(String url) {
		this.url = url;
	}
	
	public String getUrl() {
		return url;
	}
	
	public void setPermission_int(String permission_int) {
		this.permission_int = permission_int;
	}
	
	public String getPermission_int() {
		return permission_int;
	}

}
